﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Posts/Posts.master" AutoEventWireup="true" CodeFile="History.aspx.cs" Inherits="Posts_History" %>
<%@ Register TagPrefix="uc" TagName="Header" Src="~/Posts/Header.ascx" %>
<asp:Content ID="Content1" ContentPlaceHolderID="phHead" Runat="Server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="phMain" Runat="Server">
    <uc:Header id="ucHeader" runat="server" />
    <asp:Panel ID="Panel1" CssClass="tabPage clearfix" runat="server">
        <telerik:RadGrid ID="gridHistory" DataSourceID="dsHistory" Skin="InlineEdit" AutoGenerateColumns="false" runat="server">
            <MasterTableView DataKeyNames="Id">
                <Columns>
                    <telerik:GridDateTimeColumn HeaderText="Publish From" DataField="PublishFrom" /> 
                    <telerik:GridDateTimeColumn HeaderText="Publish To" DataField="PublishTo" /> 
                    <telerik:GridTemplateColumn>
                        <ItemTemplate>
                            <asp:HyperLink ID="lnkDisplayName" Text="Display Name" OnDataBinding="lnkDisplayName_DataBinding" runat="server" />
                        </ItemTemplate>
                    </telerik:GridTemplateColumn>
                    <telerik:GridBoundColumn HeaderText="Path" DataField="Path" />
                    <telerik:GridTemplateColumn>
                        <ItemTemplate>
                            <asp:HyperLink ID="lnkPreview" Text="View" OnDataBinding="lnkPreview_DataBinding" Target="_blank" runat="server" />
                        </ItemTemplate>
                    </telerik:GridTemplateColumn>
                </Columns>
            </MasterTableView>
        </telerik:RadGrid>
    </asp:Panel>
    <acms:PostDataSource ID="dsHistory" runat="server" />
</asp:Content>

